﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace MoFramework
{
    public abstract class UIItemSlotLayoutBase : MonoBehaviour
    {
        [SerializeField]
        protected UIItemSlotBase m_Sample;
        List<UIItemSlotDataBase> m_ItemDatas;

        public List<UIItemSlotDataBase> proptyDatas
        {
            get { return m_ItemDatas; }
            set
            {
                m_ItemDatas = value;
                Refresh();
            }
        }

        public abstract void Refresh();
        public virtual void Init(UIItemSlotBase sample)
        {
            m_Sample = sample;
        }
    }
}